From: Bilal Elmoussaoui Date: Fri, 9 Feb 2024 18:04:53 +0000 (+0100) Subject: layout: Stop using deprecated display property X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9c7e1f118030598f76c825eb32a9be1f150a5091;p=gnome-shell.git layout: Stop using deprecated display property Part-of: --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 34bab0711..3b54960f8 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -593,7 +593,7 @@ export const LayoutManager = GObject.registerClass({ let primary = this.primaryMonitor; this._rightPanelBarrier = new Meta.Barrier({ - display: global.display, + backend: global.backend, x1: primary.x + primary.width, y1: primary.y, x2: primary.x + primary.width, y2: primary.y + this.panelBox.height, directions: Meta.BarrierDirection.NEGATIVE_X, @@ -1190,23 +1190,23 @@ class HotCorner extends Clutter.Actor { if (size > 0) { if (Clutter.get_default_text_direction() === Clutter.TextDirection.RTL) { this._verticalBarrier = new Meta.Barrier({ - display: global.display, + backend: global.backend, x1: this._x, x2: this._x, y1: this._y, y2: this._y + size, directions: Meta.BarrierDirection.NEGATIVE_X, }); this._horizontalBarrier = new Meta.Barrier({ - display: global.display, + backend: global.backend, x1: this._x - size, x2: this._x, y1: this._y, y2: this._y, directions: Meta.BarrierDirection.POSITIVE_Y, }); } else { this._verticalBarrier = new Meta.Barrier({ - display: global.display, + backend: global.backend, x1: this._x, x2: this._x, y1: this._y, y2: this._y + size, directions: Meta.BarrierDirection.POSITIVE_X, }); this._horizontalBarrier = new Meta.Barrier({ - display: global.display, + backend: global.backend, x1: this._x, x2: this._x + size, y1: this._y, y2: this._y, directions: Meta.BarrierDirection.POSITIVE_Y, });